<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Comm_model extends CI_Model {
	
	public function __construct(){
		
		parent::__construct();

	}
	
	public function get_siteinfo(){
		
		$q = $this->db->get_where('sdk_siteinfo',array('id'=>1));
		return $q->row();
		
	}
	
	/*
	 * 获取所有国家
	* */
	public function get_countrys(){
	
		$query = $this->db->get('country');
	
		return $query->result();
	}
}